Skip to content

Update poetry:sync task for Poetry 2.0.0 CLI #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Mar 11, 2025

Previously, it was necessary to add the --no-update flag to the poetry lock command in order to prevent it from updating the dependency versions in the lockfile. The behavior of the command was changed to always behave that way, and so the --no-update flag was removed from the command.

This caused the poetry:sync task to fail spuriously when used with the recent versions of Poetry:

The option "--no-update" does not exist

per1234 added 2 commits March 11, 2025 02:50
Previously, it was necessary to add the `--no-update` flag to the `poetry lock` command in order to prevent it from
updating the dependency versions in the lockfile. The behavior of the command was changed to always behave that way, and
so the `--no-update` flag was removed from the command.
The runner's Poetry version has been updated to 2.1.1. The lockfile produced by this version has some differences
compared to the format of the lockfile produced by the previous version.
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: infrastructure Related to project infrastructure labels Mar 11, 2025
@per1234 per1234 self-assigned this Mar 11, 2025
@per1234 per1234 merged commit ab6286b into arduino:main Mar 11, 2025
21 of 22 checks passed
@per1234 per1234 deleted the fix-poetry-sync branch March 11, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant